package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电子名片业务填报信息和业务类型关联对象 ecard_busi_and_config
 *
 * @author yuzhiguo
 * @date 2024-09-29 下午2:55
 */
public class EcardBusiAndConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 信息表主键id */
    @Excel(name = "信息表主键id")
    private Long busiId;

    /** 业务配置主键id */
    @Excel(name = "业务配置主键id")
    private Long configId;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private Integer busiType;

    /** 积分 */
    @Excel(name = "积分")
    private Long integralNums;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusiId(Long busiId)
    {
        this.busiId = busiId;
    }

    public Long getBusiId()
    {
        return busiId;
    }
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setBusiType(Integer busiType)
    {
        this.busiType = busiType;
    }

    public Integer getBusiType()
    {
        return busiType;
    }
    public void setIntegralNums(Long integralNums)
    {
        this.integralNums = integralNums;
    }

    public Long getIntegralNums()
    {
        return integralNums;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("busiId", getBusiId())
                .append("configId", getConfigId())
                .append("busiType", getBusiType())
                .append("integralNums", getIntegralNums())
                .toString();
    }
}
